*{ You can use plain selenium command using the selenium tag }*
//Prepare tests sample

%{
	DataBaseInit.initTestDataBase()
}%

#{selenium}

open('/login')
type('username', 'pgalvao')
type('password', 'pgalvao')
click('signin')
waitForPageToLoad('30000')
click('display_missions_panel')
click('add_mission_bt')
waitForTextPresent('Competences')
type('missionTitle', 'Test')
select('clientID', 'label=THALES')
type('missionStartDate', '10/04/2012')
type('missionEndDate', '10/05/2012')
type('missionSkillInput_0', 'Banque')
click('css=#addMissionForm &gt; img[alt=&quot;plus&quot;]')
type('missionSkillInput_1', 'Java')
click('id=add_mission_button')
waitForPageToLoad('30000')
click('display_missions_panel')
click('css=#addMissionForm > img[alt=\'plus\']')
assertTextPresent('Test')
assertTextPresent('10/04/2012')
assertTextPresent('10/05/2012')

#{/selenium}